PROGRAM NUC980_TES
  VAR
    pwm AT %QW0 : UINT;
  END_VAR

  IF pwm < 100 THEN
    pwm := pwm + 1;
  END_IF;

END_PROGRAM


CONFIGURATION Config0

  RESOURCE Res0 ON PLC
    TASK task0(INTERVAL := T#20ms,PRIORITY := 0);
    PROGRAM instance0 WITH task0 : NUC980_TES;
  END_RESOURCE
END_CONFIGURATION
